package com.wswy.wzcx.widget.home

import android.view.View
import com.blankj.utilcode.util.ScreenUtils
import com.wswy.wzcx.model.license.UserCarInfo

interface IHomeCarLayout {

    companion object {
        val SIZE = SizeConfig()
    }

    data class SizeConfig(
            val screenWidget :Float= ScreenUtils.getScreenWidth().toFloat()
    )


    fun alpha(alpha:Float)
    fun hideLeft()
    fun hideRight()
    fun setData(userCarInfo: UserCarInfo?)
    fun animOffset(offset:Float)
    fun getView():View
}